package
{
	import flash.display.BitmapData;
	import flash.display.DisplayObject;
	import flash.display.Sprite;
	import flash.filters.GlowFilter;
	import flash.text.TextField;
	import flash.text.TextFieldAutoSize;
	import flash.text.TextFormat;

	public class Config
	{
		private static var m_gameObjectConfigs:Object;
		
		public static function getGameObjectConfig(type:int):Object{
			if(!m_gameObjectConfigs){
				var gameObjectConfigs:Object = new Object();
				
				gameObjectConfigs[GameObject.TYPE_1] = createConfig(0xff0000);
				gameObjectConfigs[GameObject.TYPE_2] = createConfig(0x00ff00);
				gameObjectConfigs[GameObject.TYPE_3] = createConfig(0x0000ff);
				gameObjectConfigs[GameObject.TYPE_4] = createConfig(0xffff00);
				
				m_gameObjectConfigs = gameObjectConfigs;
			}
			
			return m_gameObjectConfigs[type];
		}
		
		
		private static function createConfig(color:uint):Object{
			var obj:Object = new Object();
			obj['color'] = color;
			return obj;
		}
	}
}